﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="RatingHigh.ascx.cs" Inherits="user_RatingHigh" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxTookit" %>
<asp:DataList ID="DataListRatingHigh" runat="server" RepeatDirection="Horizontal"
    CellSpacing="10" Width="750px">
    <ItemTemplate>
        <img width="100" src='<%#Eval("pd_image")%>' alt='<%#Eval("pd_name")%>' />
        <br />
        <a href="productDetails.aspx?Cat=<%#Eval("cat_id")%>&ID=<%#Eval("pd_id") %>&Price=<%#Eval("pd_price") %>">
            <asp:Label ID="Label1" runat="server" Text='<%#Eval("pd_name")%>' Font-Size="11px" ToolTip='<%#Eval("pd_name")%>'></asp:Label>
        </a>
        <br />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
             <ajaxTookit:Rating id="RatingProduct" runat="server" emptystarcssclass="emptyRatingStar"
                    filledstarcssclass="filledRatingStar" starcssclass="ratingStar" waitingstarcssclass="savedRatingStar"
                    cssclass="rating" currentrating="5" ReadOnly="True" AutoPostBack="True">
            </ajaxTookit:Rating>
                &nbsp;<asp:Label ID="lblRating" runat="server" Text='<%#Eval("total")%>' Font-Size="9px"></asp:Label>
            </ContentTemplate>
        </asp:UpdatePanel>
    </ItemTemplate>
</asp:DataList>
